<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<!-- 开发环境版本，包含了有帮助的命令行警告 -->
		<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
	</head>
	<body>
		<div id="app">
			<h1>{{aaa}}</h1>
			<input v-model="aaa" />
		</div>
		<!-- MV VM -->
		<script>
			var vue = new Vue({
				el: '#app',
				data: {
					aaa: 'hello world'
				},
				beforeCreate() {
					console.info("beforeCreate")
				},
				created:function() {
					console.info("created")
				},
				beforeMount(){
					console.info("beforeMount")
				},
				mounted(){
					console.info("beforeMount")
				},
				beforeUpdate(){
					console.info("beforeUpdate")
				},
				updated(){
					console.info("updated")
				}
			})
		</script>
	</body>
	
</html>
